Version

Insert Method (SortConditionCollection<T>)

Inserts a sort condition into the collection.
Syntax
public void Insert( 
   int index,
   T sortableItem,
   SortCondition sortCondition
)

Parameters

index
The 0-based index where the sort condition should be inserted.
sortableItem
The sort-able item over which the sort condition will be applied.
sortCondition
The sort condition to apply to the sort-able item.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionindex is less than 0 or greater than Count.
System.ArgumentNullExceptionsortableItem is null.
System.ArgumentNullExceptionsortCondition is null.
System.ArgumentExceptionsortableItem is already has a sort condition applied to it in the collection.
System.InvalidOperationException There are already 64 sort conditions in the collection.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also